package cn.edu.scau.cmi.huxiantao.abstractFactory.factory;

import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PICCBodyInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PICCCarInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PICCManInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domain.PICCMultInjury;
import cn.edu.scau.cmi.huxiantao.abstractFactory.domainAbstractClass.Insurance;

public class PICCFactory extends AbstractFactory {

	@Override
	public Insurance getBodyInjury() {
		return new PICCBodyInjury();
	}

	@Override
	public Insurance getCarInjury() {
		return new PICCCarInjury();
	}

	@Override
	public Insurance getManInjury() {
		return new PICCManInjury();
	}

	@Override
	public Insurance getMultInjury() {
		return new PICCMultInjury();
	}
}
